package com.qfedu.ms.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {

    private Integer id;
    private String username;
    private String password;
    private String real_name;
    private Integer sex;
    private String email;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date register_data;
    private String img_url;

}
